﻿Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub btn_result_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btn_result.Click
        Dim firstNumber As Double
        Dim secondNumber As Double
        Dim result As Double

        firstNumber = CDbl(tb_firstNumber.Text)
        secondNumber = CDbl(tb_secondNumber.Text)

        result = firstNumber + secondNumber

        lb_result.Text = result


    End Sub
End Class